package com.lastproject.dto;

import java.io.Serializable;
import java.util.List;

public class SubcategoryDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4983471434038025733L;
	
	private int id;
	private List<Integer> topics;
	private String name;
	
	public SubcategoryDTO() {
		super();
	}

	public SubcategoryDTO(int id, List<Integer> topics, String name) {
		this.id = id;
		this.topics = topics;
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public List<Integer> getTopics() {
		return topics;
	}

	public void setTopics(List<Integer> topics) {
		this.topics = topics;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}
